const index = require('./index.js');
// 测试数据在这里填写
// const event = {
//     "target": "action/createWorkOrder",
//     "modifyStaff": "{"name":"吴伟龙","region":"茂南","grid":"开发区","account":"dwwuweilong5","id":"440981198608142273","status":"在职"}",
//     "obdAndStaff": "[]",
//     "region": "茂南",
//     "grid": "开发区",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// };
// const event = {
//     "target": "action/delWorkOrders",
//     "ids": "880c3388663f3a4c009ea5607df37576",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// };
// const event = {
//     "target": "action/getObdList",
//     "page": 0,
//     "pageSize": 5,
//     "region": "高州",
//     "grid": "高城南",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/getStaffList",
//     "pageSize": 999,
//     "page": 0,
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/queryOrder",
//     "data": {
//         "page": 0,
//         "pageSize": 5,
//         "condition": {
//             "region": "茂南",
//             "grid": "油城东"
//         },
//         "region": "茂南",
//         "grid": "油城东"
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateDepart",
//     "data": {
//         "ID": "441100000000069906898646",
//         "region": "电白",
//         "grid": "林头"
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateObdInfo",
//     "id": "63ca5b136614b51c067521e751c3e62c",
//     "region": "茂南区",
//     "grid": "河东",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateOrder",
//     "data": {
//         "IDs": "441100000000069906898646,441100000000069906898619",
//         "sign": true,
//         "region": "河东",
//         "grid": "茂南区",
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//   "target": "action/getRegionObd",
//   // "page": 0,
//   // "pageSize": 5,
//   "region": "茂南",
//   // "grid": "钱排",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE2Nzk3MDc3LCJleHAiOjE3MTY4MDA2Nzd9.1dHmDOzakxonWc4dnpCNdosuvAW7zjd8KKVI6IsJub4"
// };
// const event = { "target": "action/getWordOrderList", "page": 0, "pageSize": 999, "onlyCreator": "dwzengzhiyong2", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE2OTc2MDM5LCJleHAiOjE3MTY5Nzk2Mzl9.nZo-KjggO3nbsmLOqROsVF1m-qCut3cT21Y0MdiZd6M" }
// const event = {
//   "target": "action/getObdList",
//   "page": 0,
//   "pageSize": 2000,
//   "region": "高州",
//   "grid": "高城南",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buE6bi_IiwiYWNjb3VudCI6ImR3aHVhbmdob25nMTAiLCJpZCI6IjQ0MDk4MjE5ODgxMjI3NjcxOCIsInBob25lIjoiMTU3MDY2NjUyMzYiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLljJblt54iLCJncmlkIjoi5rKz5LicIiwicG9zaXRpb24iOiLnj63plb8iLCJpYXQiOjE3MTkzODU5MDIsImV4cCI6MTcxOTM4OTUwMn0.R_Q-RhwgQ50PbdvkSm0A0BmCEegi7MvaCRmY92C3RSQ"
// };

// "staffName":"刘健杰","region":"茂南","grid":"油城东","minArea":"5","maxArea":"10",

// const event ={"target":"action/getStaffMap","staffName":"陈世杰","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjM2ODk3NzgsImV4cCI6MTcyMzY5MzM3OH0.KRdy9BWl7QKbiPdajStjdtfsvVgo8O-QOt0-jXk0tUU"}

// const event ={"target":"action/queryAllObd","data":{"page":219},"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjEzODAyMTksImV4cCI6MTcyMTM4MzgxOX0.wRAY5aC5VRCgUET4P5AXl84Lpxxfa51J64DjVJv-_w4"}

// const event ={"target":"map/calRegionOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNTQ5OTgyMiwiZXhwIjoxNzI1NTAzNDIyfQ.-1skDJKUeJc-u5lm0ykOVymMJaOlMNpVyFMvwtXLVEg"}

// const event ={"target":"map/calGridOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNTQ5OTgyMiwiZXhwIjoxNzI1NTAzNDIyfQ.-1skDJKUeJc-u5lm0ykOVymMJaOlMNpVyFMvwtXLVEg"}

// const event ={"target":"action/getMapDataList","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNTQ5OTgyMiwiZXhwIjoxNzI1NTAzNDIyfQ.-1skDJKUeJc-u5lm0ykOVymMJaOlMNpVyFMvwtXLVEg"}

// const event ={"target":"map/calStaffTownStreetByJson","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNTUyNTgwMCwiZXhwIjoxNzI1NTI5NDAwfQ.L1f-vpv2QIrE0KXgnJA2MxYc93vuLnHwgFvXD_OTZNE"}

// const event ={"target":"map/calGridOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNTAwOTI0MywiZXhwIjoxNzI1MDEyODQzfQ.ZZU_uvmWghUw6CqmwDPWouJ_HvRzpTeeNIhhy7KM5BE"}

// const event ={"target":"map/calStaffToRegion","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNDgxNDQ4OCwiZXhwIjoxNzI0ODE4MDg4fQ.l4PHajVIOV7yeKEQ62qkJLl9peGaMwoBtkMVORI-oME"}

// const event = {"target":"action/getObdList","page":0,"pageSize":50,"grid":"","staffName":"廖志河","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTcyNDIwMzc1NiwiZXhwIjoxNzI0MjA3MzU2fQ.tP0LCIX5jXWKY1xE_jclygEMfI0BA-TGhJcS1WfjUvY"}
// const event ={"target":"action/calToGridCenter","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjQwMjg4MDcsImV4cCI6MTcyNDAzMjQwN30.LYXWmugQObjOEcdpW8sS9yU2qSkdZLG6f7RzvtUrlCw"}
// const event ={"target":"action/calGridCenter","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjM2ODk3NzgsImV4cCI6MTcyMzY5MzM3OH0.KRdy9BWl7QKbiPdajStjdtfsvVgo8O-QOt0-jXk0tUU"}
// const event ={"target":"action/calArea","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjM2ODQxNjIsImV4cCI6MTcyMzY4Nzc2Mn0.8hIbHeeEep7VhZqiFbY8mTs5QEmLqIiG7vYSN1Z6csM"}

// const event ={"target":"action/getWordOrderInfo","id":"9bf3df1366ab44cc05569c373875a489","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjM0MjYwMTAsImV4cCI6MTcyMzQyOTYxMH0.nUfIuHxrMFkpLJi3fOdKUNzICISn_AurkHUaKWryCdw"}

// const event ={"target":"action/getWordOrderList","page":0,"pageSize":100,"createDateTime":"","creator":"","currentPosition":"","currentProcess":"","status":"","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsInBhc3N3b3JkIjoiMTEyMDgwIiwiaWF0IjoxNzIzMTA4MDk1LCJleHAiOjE3MjMxMTE2OTV9.cPiK8bsgRDAN_8ZKeL7kvJLmWW_xrmx6qZJQsKY2nWE"}

// const event = {
//     "target": "action/getWordOrderList",
//     "page": 0,
//     "pageSize": 1,
//     "status": "已删除",
//     // "region": "",
//     // "grid": "合江",
//     // "obdAndStaff": "441000000000015133937529",
//     // "type": "",
//     // "createDateTime": "2024/06/02",
//     // "currentPosition": "全职装维",
//     // "currentProcess": "装维站审批",
//     // "creator": "dwzengzhiyong2",
//     // "grid": "高城北",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjA2MDAwOTYsImV4cCI6MTcyMDYwMzY5Nn0.Tb2pmi7QgbkB7jmU-9HQcH2RjP4bSysM0l_v9-LWUco"
// };
// const event ={
//   "target": "action/getObdModifyLog",
//   // "newStaffName": "林永佳",
//   // "oldStaffName": "",
//   // "obdName": "茂名信宜市镇隆中学/GJ001-POS001-1:16(18-3)",
//   "startDate": "2024/07/04",
//   "endDate": "2024/07/05",
//   "grid": "城南",
//   "page": 0,
//   "pageSize": 1,
//       "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjA0MjI1MjUsImV4cCI6MTcyMDQyNjEyNX0.phpyKr1cHlI6mCMfsbrWNNE7epmIZb7mlCY3ljGmEyU"
// }
// const event ={
//   "target": "action/getObdPosition",
//   "staffName": "朱寿标1",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MjAwNjQ0ODksImV4cCI6MTcyMDA2ODA4OX0.kf5-yTbn5mCx-6eBtSAlEGb-FzNicNkdZ_tqr33lc9g",
// }

// const event ={"target": "action/login","data": {"account": "dwkesiming","password": "112080"}}

 const event = {"target":"action/submitApprove","id":"addca5a166557d7801db2f540fe65600","obdAndStaff":"[{\"_id\":\"910f00ea6667cb9100d5ae8112d1ff3d\",\"obdId\":\"441000000000010303082000\",\"fgqmc\":\"茂名茂南区袂花镇上江仔村片区C6二级(扩)(H)-POS001-1:8(14-10）\",\"newStaffName\":\"11111\",\"newStaffAccount\":\"dwyangjieming2\",\"oldStaffName\":\"李文业\",\"oldStaffAccount\":\"dwliwenye\"},{\"_id\":\"910f00ea6667cb9100d5ae8222687f73\",\"obdId\":\"441000000000010303081761\",\"fgqmc\":\"茂名茂南区站南街片区加厚D4二级(H)-POS001-1:8(5-15)\",\"newStaffName\":\"222222\",\"newStaffAccount\":\"dwhuanghualiang2\",\"oldStaffName\":\"陈桂元\",\"oldStaffAccount\":\"dwchenguiyuan\"}]","currentProcess":"综调审批","prePrecess":"","agreeOrNot":"同意","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHdrZXNpbWluZyIsIm5hbWUiOiLmn6_mgJ3pk60iLCJwYXNzd29yZCI6IjExMjA4MCIsImlhdCI6MTczMzQ3Mzg2MywiZXhwIjoxNzMzNDc3NDYzfQ.5yQ8e7AyjxZ2ZgWEyLU4V_t_XggjaWfFLjgTTc98Gw8"}

// const event ={
//   "target": "action/test",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MTk4MjI4MDgsImV4cCI6MTcxOTgyNjQwOH0.lcuimOU52QEfRM-cAZIO-lEZ41mw678EMZVC9taDfoE"
// }
// const event = {
//     "target": "action/queryOrder2",
//     "data": {
//         "page": 0,
//         "pageSize": 50,
//         "condition": {
//             "staffName": "陈明基",
//             "region": "化州",
//             // "isNewAdd":"是"
//         }
//     },// "grid":"河东",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MTk1NDQ4MzUsImV4cCI6MTcxOTU0ODQzNX0.sQug92xHRJpbK1XTeog79SJOpH0SGVgK8YYB7wPtKyc"
// }
// const event = { "target": "action/getWordOrderList", "page": 0, "pageSize": 50, "currentPosition": "综调", "queryType": "todoworkorder", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHd6ZW5nemhpeW9uZzIiLCJwYXNzd29yZCI6Ijk1MjQyMyIsImlhdCI6MTcyMzE5MTcyOCwiZXhwIjoxNzIzMTk1MzI4fQ.PA1t0QEB3Y5YwMR1nouh2fbTPRiOcTgenuNuWaS1aYM" }
// const event = { "target": "action/updateStaff", "oldGrid": "开发区", "newGrid": "开发区", "region": "茂南", "handler": "曾志勇", "account": "dwwuweilong5", "zwname": "吴伟龙", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiZHd6ZW5nemhpeW9uZzIiLCJwYXNzd29yZCI6Ijk1MjQyMyIsImlhdCI6MTcyMzY5MDI3MiwiZXhwIjoxNzIzNjkzODcyfQ.MTkGCP60BquUyODJUqKGmlTL5UDa6EvVfMGhvrSmPAk" }
const context = {};
index.main(event, context).then(result => {
  console.log(result);
}).catch(err => {
  console.error(err);
});